package com.qunar.dyds.dto;

import java.util.List;

public class ListObject {

    /**
     * 数据查询开始索引
     */
    private int startIndex;

    /**
     * 记录数
     */
    private int row;

    /**
     * 记录总数
     */
    private int totalCount;

    /**
     * 记录列表
     */
    private List<?> beans;

    public ListObject(int startIndex, int row, int totalCount, List<?> beans) {
        this.startIndex = startIndex;
        this.row = row;
        this.totalCount = totalCount;
        this.beans = beans;
    }

    public int getStartIndex() {
        return startIndex;
    }

    public int getRow() {
        return row;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public List<?> getBeans() {
        return beans;
    }

}
